{%include file="header.html"%}
<script language="javascript" src="{%$smarty.const.BASEURI%}public/js/ui.datetimepicker.js"></script>

<script language="javascript" type="text/javascript">
function checkForms(){

		if ($("#usercode").val()=='') { 
		alert('请输入充积分账号');
		$("#usercode").focus();
		return false;
		}
		if ($("#remarks").val()=='') { 
		alert('请输入充积分原因');
		$("#remarks").focus();
		return false;
		}
	}
</script>
<link rel="stylesheet" type="text/css" href="{%$smarty.const.BASEURI%}public/css/ui.datepicker.css"/>
<dl class="adminoption">
  <dt></dt>
  <dd><a href="#tab1">充积分表单</a></dd>
</dl>
<div id="tab1" class="tab">
<form name="adminform" id="adminform" action="/admin_integral/add" method="post" enctype="multipart/form-data" >
<table width="100%" border="0" class="adminform">
 <tr>
  	<th>会员名</th>
    <th>&nbsp;</th>
  </tr>
  <tr>
    <td><input type="text" name="pay[user_code]" value="" id="usercode"  size='15' /></td>
    <td>&nbsp;</td>
  </tr>

  <tr>
    <td><input type="text" name="pay[pay_integrals]"   size='15' value=''/><span  class="b">请填写积分</td>
    <td ></td>
  </tr>
    <tr>
  	<th>备注</th>
    <th>&nbsp;</th>
  </tr>
    <tr>
    <td><textarea name='pay[remarks]' rows="10" cols="10" id="remarks"></textarea>
     	</td>
    <td>&nbsp;</td>
  </tr>
</table>
<input type="hidden" name="pay[get_integrals]" id="get_integrals" value="">
</div>
<div>
<input type="submit"  id="button" value="提交" class="button"  />
</div>
</form>